package cn.mugutu.finance.domain;

import cn.mugutu.finance.domain.system.BaseEntity;
import cn.mugutu.finance.enums.DoubleBallNumberType;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;
import java.util.Date;

/**
 * 双色球
 *
 * @author gan
 * @date 2018/12/12 1:46 PM
 */

@Data
@Entity
@Table(name = "AWARD_DOUBLEBALL")
public class DoubleBall extends BaseEntity {

    private int period; //期数

    //红球
    private int red1;
    private int red2;
    private int red3;
    private int red4;
    private int red5;
    private int red6;

    private int blueNumber;         //蓝球

    private int awardPoll;          //奖池奖金

    private int oneNumber;      //一等奖注数
    private int oneAwardMoney;  //一等奖奖金
    private int twoNumber;      //二等奖注数
    private int twoAwardMoney;  //二等奖奖金

    private int totalMoney;     //总投注金额

    private Date openAwardDate; //开奖日期

    @Enumerated(EnumType.STRING)
    private DoubleBallNumberType type;  //号码类型

}
